package com.woniu.car.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.Date;

/**
 * @ClassName DetailQueryParam
 * @Description TODO
 * @Author 李磊
 * @Version 1.0
 **/
@Data
public class DetailQueryParam {

    @NotNull(message = "商铺ID不能为空")
    @Min(value = 1, message = "商铺ID有误")
    @ApiModelProperty(value = "商铺ID",example = "1")
    private Integer shopId;

    @Size(min = 0,max = 10, message = "状态内容大小有误")
    @ApiModelProperty(value = "状态",example = "1")
    private String status;

    private Date startTime;

    private Date endTime;


}
